/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pagecontroller;

import java.util.Stack;

/**
 *
 * @author edilson
 */
public class PainelManager {
    private String painelActive;
    private boolean visible;
    private Stack<String> pilha;
    
    
    
    public void addPainel(String painel){
        pilha.add(painel);
    }

    public String getPainel(){
        return pilha.firstElement();
    }
    
    public String getPainelActive() {
        return painelActive;
    }

    public void setPainelActive(String painelActive) {
        this.painelActive = painelActive;
    }

    public Stack getPilha() {
        return pilha;
    }

    public void setPilha(Stack pilha) {
        this.pilha = pilha;
    }

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }
    
   
}
